package com.hotcat.proxy.factory.impl;

import com.hotcat.proxy.factory.Human;

/**
 * 被代理类
 * @author xu.biao
 * @version v1.0
 * @Package com.hotcat.proxy.factory.impl
 * @data 2021/11/28 15:41
 */
public class SuperMan implements Human {
    @Override
    public String getSay() {
        return "I can fly!";
    }

    @Override
    public void eat(String food) {
        System.out.println("SuperMan正在吃" + food);
    }
}
